package mest.service.hank;

import mest.entity.plan_productjob_saleout;
import mest.entity.plan_productjob_saleout_record;
import mest.entity.plan_productjob_takematerial_record;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Classname PlanProductjobSaleoutRecordService
 * @Description TODO
 * @Date 2019/12/14 15:22
 * @Created by 18416
 * @Auther: henk
 */
public interface PlanProductjobSaleoutRecordService {

    int deleteByPrimaryKey(Integer id,String theirDb);

    int insert(plan_productjob_saleout_record record,String theirDb);

    int insertSelective(plan_productjob_saleout_record record,String theirDb);

    plan_productjob_saleout_record selectByPrimaryKey(Integer id,String theirDb);

    int updateByPrimaryKeySelective(plan_productjob_saleout_record record,String theirDb);

    int updateByPrimaryKey(plan_productjob_saleout_record record,String theirDb);

    int intsertList(List<plan_productjob_saleout_record> record,String theirDb);
    
    List<plan_productjob_saleout_record> selectAll(Map<String, Object> map);
    
    int count(Map<String, Object> map);

    int intsertWarehouseSaleout(Map<String, Object> map) throws Exception;

	int insertWarehousePJSaleout(Map<String, Object> map);

	int getWarehouseSaleoutNumber(Map<String, Object> map);
}
